package com.wn.common.api.order.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("保存订单DTO对象")
public class OrderDto {
	@ApiModelProperty("用户id")
	private String userId;
	@ApiModelProperty("商品id")
	private Integer productId;
	@ApiModelProperty("商品图片")
	private String productPic;
	@ApiModelProperty("商品名称")
	private String productName;
	@ApiModelProperty("商品价格")
	private BigDecimal price;
	@ApiModelProperty("促销价格")
	private BigDecimal promotionPrice;

	@ApiModelProperty("订单总金额")
	private BigDecimal totalAmount;
}